Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRG: add support for -E/--extension to sig split #2712

Merged
merged 1 commit into from
Aug 12, 2023
Merged

Conversation

ctb
Copy link
Contributor

@ctb ctb commented Aug 12, 2023

This PR adds -E/--extension to sourmash sig split, so that you can do (for example)

sourmash sig split -E .sig.gz database.zip

and get a bunch of .sig.gz files instead of a bunch of .sig files.

Addresses #2703

@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Merging #2712 (ff4c767) into latest (0c4bdeb) will increase coverage by 7.57%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           latest    #2712      +/-   ##
==========================================
+ Coverage   85.26%   92.83%   +7.57%     
==========================================
  Files         133      104      -29     
  Lines       15179    12390    -2789     
  Branches     2612     2612              
==========================================
- Hits        12942    11502    -1440     
+ Misses       1936      587    -1349     
  Partials      301      301              
Flag Coverage Δ
hypothesis-py 25.81% <0.00%> (-0.01%) ⬇️
python 92.83% <100.00%> (+<0.01%) ⬆️
rust ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/sourmash/cli/sig/split.py 100.00% <100.00%> (ø)
src/sourmash/sig/__main__.py 94.04% <100.00%> (ø)

... and 29 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ctb
Copy link
Contributor Author

ctb commented Aug 12, 2023

Ready for review & merge @sourmash-bio/devs

Copy link
Contributor

@ccbaumler ccbaumler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@ctb
Copy link
Contributor Author

ctb commented Aug 12, 2023

thanks!

@ctb ctb merged commit f5c72fc into latest Aug 12, 2023
20 checks passed
@ctb ctb deleted the split_add_extension branch August 12, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants